package com.xxl.job.admin.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * @author chenlinqing
 * @description:
 * @date: 2025/8/8 23:30
 */
@TableName("xxl_job_admin_machine")
public class XxlJobAdminMachine {
    @TableId(value = "address", type = IdType.INPUT)
    private String address;

    @TableField("update_time")
    private Date updateTime;

    @TableField(exist = false)
    private Integer jobCount;

    @TableField(exist = false)
    private Integer activeJobCount;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getJobCount() {
        return jobCount;
    }

    public void setJobCount(Integer jobCount) {
        this.jobCount = jobCount;
    }

    public Integer getActiveJobCount() {
        return activeJobCount;
    }

    public void setActiveJobCount(Integer activeJobCount) {
        this.activeJobCount = activeJobCount;
    }
}
